import Vue from 'vue';
import * as Router from 'vue-router';
Vue.use(Router);

const routes = [
  {
    path: '/',
    redirect: '/index'
  }
]

const route = new Router({
  mode: 'history',
  routes
})
route.beforeEach((to, from, next) => {
    next();
})

export default route